<template>
  <div class="container">
    <Category title="Games">
      <template slot-scope="{ games }">
        <ul slot="center">
          <li v-for="(game, index) in games" :key="index">
            {{ game }}
          </li>
        </ul>
      </template>
    </Category>
    <Category title="Games">
      <template v-slot="{ games }">
        <ol slot="center">
          <li v-for="(game, index) in games" :key="index">
            {{ game }}
          </li>
        </ol>
      </template>
    </Category>
    <Category title="Games">
      <template v-slot="{ games }">
        <h3 v-for="(game, index) in games" :key="index">{{ game }}</h3>
      </template>
    </Category>
  </div>
</template>

<script>
import Category from './components/Category.vue';

export default {
  name: 'App',
  components: { Category },
};
</script>

<style>
.container,
.foot,
h4 {
  display: flex;
  justify-content: space-around;
}
img,
video {
  width: 100%;
}
</style>
